package com.wangfei.test.singleton;

public enum Person {
    PERSON;

    private Person() {
        System.out.println("a new person!");
    }


    public static void main(String[] args) {
        Person p1 = Person.PERSON;
        Person p2 = Person.PERSON;
    }
}
